package cn.hwua.entity;

import java.util.Date;
public class Comment {
	private Integer id; 
	private String userName; 
	private Date time; 
	private Integer sortID; 
	private String content; 
	private Integer food_id; 

	public Comment (){

	}

	public void setId(Integer id){
		this.id=id;
	}
	public Integer getId(){
		return id;
	}

	public void setUserName(String userName){
		this.userName=userName;
	}
	public String getUserName(){
		return userName;
	}

	public void setTime(Date time){
		this.time=time;
	}
	public Date getTime(){
		return time;
	}

	public void setSortID(Integer sortID){
		this.sortID=sortID;
	}
	public Integer getSortID(){
		return sortID;
	}

	public void setContent(String content){
		this.content=content;
	}
	public String getContent(){
		return content;
	}

	public void setFood_id(Integer food_id){
		this.food_id=food_id;
	}
	public Integer getFood_id(){
		return food_id;
	}

	@Override
	public String toString(){
		return " Comment [id=" + id+ " , userName=" + userName+ " , time=" + time+ " , sortID=" + sortID+ " , content=" + content+ " , food_id=" + food_id+"]";
	}

}

